<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>我要借书</title>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-touch-fullscreen" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta name="format-detection" content="address=no">
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/common.css">
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/index.css">
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/mui.min.css"/>
		<link rel="stylesheet" href="__PUBLIC__/home/css/reset.css">
		<script src="__PUBLIC__/home/js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="__PUBLIC__/home/js/jquery.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/home/js/iscroll.js"></script>
		<script type="text/javascript" src="__PUBLIC__/home/js/jquery.flexslider-min.js"></script>
		<script src="__PUBLIC__/home/js/hmt.js" type="text/javascript"></script>
		<script type="text/javascript" src="__PUBLIC__/home/js/index.js"></script>
		<script src="__PUBLIC__/home/js/swiper.min.js" type="text/javascript" ></script>
		<style type="text/css">
.in-banner img{
	width: inherit;
	margin-left: 35%;
}
		</style>
	</head>
	<body>

		<div id="container">		
			<div id="main">
				<div class="deal">
					<div class="list">
						<section class="in-banner">
							<div class="swiper-container swiper-container1">
								<div class="swiper-wrapper bannerwidth">
									<div class="swiper-slide">
										<a href="#">
											<img src="{$data.picture}">
										</a>
									</div>
								</div>						
							</div>

						</section>
						<dl class="list list-in">							
							<dd class="dd-padding agreement">
	
							</dd>
						</dl>
					</div>
					
					<dl class="list">
						<dd>
							<dl>
								<dd class="dd-padding">
									<div class="merchant">
										<div class="biz-detail">
											<a class="react" href="#" title="">
												<h5 class="title single-line">{$data.book_name}</h5>
		
												<div class="address single-line">地点：{$data.address}</div>
												<div class="dist">
													<i class="text-icon">⦿</i>
													<span class="dist-title">库存：{$data.num}</span>
												</div>
											</a>
										</div>
									</div>
								</dd>
							</dl>
						</dd>
					</dl>
					
					<dl id="deal-details" class="list">
						<dt class="tdetail">图书信息</dt>
						<dd>
							<dl>
								<dd class="detail-group">
									<span class="middle">作者</span>
									<span class="middle">{$data.author}</span>
								</dd>
								<dd class="detail-group">
									<span class="middle">出版社</span>
									<span class="middle">{$data.publisher}</span>
								</dd>
							</dl>
						</dd>

					</dl>
		
					<div id="feedback_async">
						<dl id="deal-terms" class="list">
							<dt class="tdetail">内容简介</dt>
							<dd class="dd-padding">
								<ul>
									<li>
										<div class="tip-title"></div>
										<div class="tip-des">{$data.content}</div>
									</li>
								</ul>
							</dd>
						</dl>			
					</div>			
				</div>
				<div class="guess-like guess-liketwo">
					<dl class="list">
					<dt class="tdetail">相关推荐</dt>
						<volist name="xgbook" id="vo">
						<dd>
							<dl class="list">
								<dd>
									<a href="tuan-detail.html" class="react">
										<div class="dealcard">
											<div class="dealcard-img imgbox">
												<span></span>
												<img src="{$vo.picture}"/>
											</div>
											<div class="dealcard-block-right">
												<div class="dealcard-brand single-line">{$vo.book_name}</div>
												<div class="title text-block">[地址]{$vo.address}</div>
												<div class="price">
													<span class="strong">作者</span>
													<span class="strong-color">{$data.author}</span>
													
													<span class="line-right">
									            </span>
												</div>
											</div>
										</div>
									</a>
								</dd>
							</dl>
						</dd>
						</volist>
					</dl>
		
				</div>
			</div>
		</div>
		
		<div class="renting-footer renting-footertwo clearfloat" id="footer">
			<ul>
				<form>
				<input type="hidden" name="bid" value="{$data.bid}">
				<input type="hidden" name="wid" value="{$data.wid}">
				<li><a href="javascript:void(0)" onclick="lend()">我要借此书</a></li>
				</form>
			</ul>
		</div>
		<script type="text/javascript">
			function lend(){
				//alert(111);
				var wid = $("input[name='wid']").val();
				var bid = $("input[name='bid']").val();
				window.location.href="__APP__/Scan/lend/wid/"+wid+"/bid/"+bid;
			}
		</script>	
	</body>
</html>
